//
//  LoadDataStatusView.m
//  ArtMedia
//
//  Created by 智障 on 2018/11/2.
//  Copyright © 2018 程明. All rights reserved.
//

#import "LoadDataStatusView.h"
@interface LoadDataStatusView ()
@property (nonatomic ,strong) UIImageView *imageView;

@end

@implementation LoadDataStatusView

- (instancetype)initWithFrame:(CGRect)frame {
    
    self = [super initWithFrame:frame];
    
    if (self) {
        
        
        self.backgroundColor = [UIColor whiteColor];
        // 大图
        _imageView = [[UIImageView alloc]initWithFrame:CGRectMake(0, 0, 100, 100)];
        _imageView.image =[UIImage imageNamed:@"Base_NoMoreData"];
        
        _imageView.center = CGPointMake(self.width/2, self.height/2 - 120 * (self.height / ScrH));
        [self addSubview:_imageView];
        
        
    }
    
    return self;
    
}
- (void)notHaveData{
    self.hidden = NO;
}
@end
